package com.southwind.annotation;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;

@Configuration
@ComponentScan(basePackages = "com.southwind.annotation")
public class JavaConfig {

    @Bean
    public Person getPerson() {
        return new Person();
    }
}
